home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1997 December
/
MACPOWER-1997-12.ISO.7z
/
MACPOWER-1997-12.ISO
/
AMUG
/
MAC OS 8
/
cmm-framework-10.sit
/
Trygve's CMM Framework 1.0
/
Sample Plugin (text beeper)
/
Plugin.h
< prev
next >
Wrap
Text File
|
1997-08-28
|
1KB
|
44 lines
//
// Copyright ゥ1997 by Trygve Isaacson. All Rights Reserved.
//
// Additional Restrictions:
//
// Permission granted to:
// - Compile this source code.
// - Modify this source code, but not to remove this copyright information.
// - Freely distribute the compiled object form of this source code, and any
// modifications you make, in your programs.
//
// Permission NOT granted to:
// - Redistribute modified versions of this source code.
//
// You grant Trygve Isaacson one single-user license to your plugins based
// on this source code, and notify him at:
// trygve@bombaydigital.com
//
#define kPluginCodeFragString "Sample Plugin"
#ifndef REZ
#pragma once
#include "PluginBase.h"
class Plugin : public PluginBase
{
public:
Plugin();
virtual ~Plugin();
protected:
virtual Boolean IsDesiredFSSpec(const FSSpec* aFileSpec, SInt32 commandID, Boolean isExaminePhase);
virtual Boolean AddMultiDataTypeCommand(AEDescList* commandList, UInt32 numDataTypes, OSType* dataTypesArray, UInt32 numDataTypesFound);
virtual OSStatus ProcessSelectionItem(AEDesc* coercedDescriptor, SInt32 commandID);
};
#endif // REZ